<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>url对照</title>
    <style type="text/css">
        span{
            color : red;
        }
        tr td{
            border : solid red 1px;
        }
    </style>
</head>
<body>
<form action="/mapping/list" type="get">
    <tr>
        <td>
            旧值：<input id="oldValue" name="oldValue" value="$oldValue"/>
        </td>
        <td>
            新值：<input id="newValue" name="newValue" value="$newValue"/>
        </td>
        <td>
            是否修改：<select id="changed" name="changed" >
                        <option value="A" #if($changed=='A')selected#end>All</option>
                        <option value="Y" #if($changed=='Y')selected#end>YES</option>
                        <option value="N" #if($changed=='N')selected#end>NO</option>
                    </select>
        </td>
        <td>
            排序字段：<select id="sortBy" name="sortBy" >
            <option value="None" #if($sortBy=='None')selected#end>None</option>
            <option value="old" #if($sortBy=='old')selected#end>old</option>
            <option value="new" #if($sortBy=='new')selected#end>new</option>
        </select>
        </td>
        <td><button type="submit">确定</button> </td>
        <td> total：$total</td>
    </tr>
</form>
<table>
    #foreach($entity in $lists)
    <tr>
        <td>$entity.oldValue</td>
        <td>$entity.changed</td>
        <td>$entity.newValue</td>
    </tr>
    #end
</table>
</body>
</html>
